Skip to content

Fix OpenClaw pluginApi compatibility drift in capabilities metadata#416

Open
plind-junior with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-ci-test-py3-13
Open

Fix OpenClaw pluginApi compatibility drift in capabilities metadata#416
plind-junior with Copilot wants to merge 2 commits into
mainfrom
copilot/fix-ci-test-py3-13

Conversation

Copilot AI commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

The failing ci / test (py3.13) job was caused by drift between the OpenClaw plugin manifest and the kb.capabilities response. The manifest was missing openclaw.compat.pluginApi, and capabilities did not advertise the corresponding host_compat.openclaw.pluginApi entry expected by the compatibility checks.

  • OpenClaw compatibility metadata

    • add openclaw.compat.pluginApi to openclaw.plugin.json
    • keep the declared plugin API floor explicit in the manifest rather than only in package.json
  • Capabilities surface

    • extend Capabilities with host_compat
    • expose host_compat.openclaw.pluginApi from src/vouch/capabilities.py
  • Drift checks

    • add coverage in tests/test_capabilities.py for the new host_compat contract
    • update tests/test_openclaw_plugin_manifest.py to assert manifest/package compatibility parity
    • stop treating openclaw as a dead manifest field now that it is part of the current contract
  • Schema/docs alignment

    • add host_compat to schemas/capabilities.schema.json
    • update CLAUDE.md to document that the manifest also carries the OpenClaw compatibility floor
{
  "openclaw": {
    "compat": {
      "pluginApi": ">=2026.6.0"
    }
  }
}
host_compat={"openclaw": {"pluginApi": ">=2026.6.0"}}

@github-actions github-actions Bot added the size: XS less than 50 changed non-doc lines label Jul 7, 2026
@github-actions github-actions Bot added docs documentation, specs, examples, and repo guidance openclaw openclaw integration mcp mcp, jsonl, and http surfaces storage kb storage, migrations, schemas, and proposals schemas json schemas and generated schema assets tests tests and fixtures size: S 50-199 changed non-doc lines and removed size: XS less than 50 changed non-doc lines labels Jul 7, 2026
Copilot AI changed the title [WIP] Fix failing GitHub Actions job ci / test (py3.13) Fix OpenClaw pluginApi compatibility drift in capabilities metadata Jul 7, 2026
Copilot AI requested a review from plind-junior July 7, 2026 10:29
@plind-junior
plind-junior marked this pull request as ready for review July 7, 2026 10:30
@plind-junior

Copy link
Copy Markdown
Member

@coderabbitai resolve

@plind-junior
plind-junior enabled auto-merge July 16, 2026 07:52
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
✅ Action performed

Comments resolved. Approval is disabled; enable reviews.request_changes_workflow to allow explicit top-level @coderabbitai resolve or @coderabbitai approve commands.

@plind-junior

Copy link
Copy Markdown
Member

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@plind-junior, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 57 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 29be1a43-2dcd-4969-bd69-b677fe060c34

📥 Commits

Reviewing files that changed from the base of the PR and between 95c666f and ac6e8ea.

📒 Files selected for processing (7)
  • CLAUDE.md
  • openclaw.plugin.json
  • schemas/capabilities.schema.json
  • src/vouch/capabilities.py
  • src/vouch/models.py
  • tests/test_capabilities.py
  • tests/test_openclaw_plugin_manifest.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch copilot/fix-ci-test-py3-13

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs documentation, specs, examples, and repo guidance mcp mcp, jsonl, and http surfaces openclaw openclaw integration schemas json schemas and generated schema assets size: S 50-199 changed non-doc lines storage kb storage, migrations, schemas, and proposals tests tests and fixtures

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants